from django.conf.urls.defaults import *
from django.http import HttpResponse

urlpatterns = patterns('',
    (r'^books',    'mt.api.books.search'),
    (r'^extract',  'mt.api.views.extract'),
    (r'^search',   'mt.api.views.search'),
    (r'^products', 'mt.api.products.search')
)

def extract(request):
    return HttpResponse('Extract view')

def search(request):
    return HttpResponse('Search view')
